.jfPDExtImageGallery { list-style: none; padding: 0; margin: 0; }
.jfPDExtImageGallery:after { clear: both; content: "."; display: block; height: 0; visibility: hidden; }
.jfPDExtImageGallery li {
  float: left;
  margin: 1%;
  width: 23%;
  display: block;
}

@media (min-width: 700px) {
  .jfPDExtImageGallery li {
    width: 14%;
  }
}
@media (min-width: 1000px) {
  .jfPDExtImageGallery li {
    width: 12%;
  }
}

.jfPDExtImageGallery li img { 
  display: block;
  width: 100%;
  height: auto;
}

div.ps-caption-content {
  padding-top: 0;
  padding-bottom: 0;
}

div.ps-caption-content > :first-child {
  margin-top: 13px;
}
div.ps-caption-content > :last-child {
  margin-bottom: 13px;
}

div.ps-caption-content h1 {
  margin-bottom: 10px;
  display: block;
  font-size: 16px;
  font-family: Georgia,serif;
  font-weight: normal;
  line-height: normal;
}

.ps-caption.ui-scrollview-clip {
  width: 100%;
  display: inline-block;
  max-height: 55% !important;
}

div.ps-caption-content a:not(.ui-btn) {
  color: #fff;
  text-decoration: underline;
}

div.ps-caption-content div,
div.ps-caption-content p,
div.ps-caption-content a.ui-btn,
div.ps-caption-content a.ui-btn .ui-btn-inner,
div.ps-caption-content .ui-controlgroup-horizontal {
  display: block;
}

div.ps-caption-content a.ui-btn-inline,
div.ps-caption-content .ui-controlgroup-horizontal a.ui-btn {
  display: inline-block;
}


div.ps-caption-content {
  text-align: left;
  font-size: 11px;
}
